package com.test;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@SpringBootApplication
public class GateWayTestApplication implements ApplicationRunner {

    public static void main(String[] args) {
        try{
            SpringApplication.run(GateWayTestApplication.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }

    }


    public void run(ApplicationArguments args) throws Exception {

        System.out.println("GateWay Startuped OK");
    }

}
